﻿<tabset class="setting-lottery single-tab" stop-input-propagation justified="true">
    <tab heading="图集">
        <div class="pic_lunbo_console input_console">
            <div class="modify_area">
                <div class="row">
                    <div class="col-sm-12">
                        <label class="pic_lunbo_label_type">
                            图集播放方式
                        </label>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-6">
                        <select class="" style="font-size:12px;padding-left:3px;width:140px;margin-left: 10px;">
                            <option value="1">
                                图片轮播
                            </option>
                        </select>
                    </div>
                    <div class="col-sm-3" style="line-height: 35px; vertical-align: middle; text-align: center;font-size: 13px;">
                        自动播放
                    </div>
                    <div class="col-sm-3" style="font-size: 30px; color: #9ad64b;text-align:left;">
                        <span class="fa fa-toggle-on" style="cursor: pointer;" ng-show="isAutoPlay"
                              ng-click="autoPlay(false)">
                        </span>
                        <span class="fa fa-toggle-off" style="cursor: pointer;" ng-hide="isAutoPlay"
                              ng-click="autoPlay(true)">
                        </span>
                    </div>
                </div>
                <div class="row" style="margin: 10px -15px;">
                    <div class="col-sm-6" style="text-align: center;">
                        <a id="selectPic" style="border-radius:3px;width:140px;margin-left: 10px;"
                           class="btn-main btn-success" ng-click="choosePic()">
                            选择图片
                        </a>
                    </div>
                    <div class="col-sm-6" style="font-size:13px; line-height: 35px;text-align:left;">
                        <div>
                            最多可选择6张图片
                        </div>
                    </div>
                </div>
                <div class="divider" style="margin:26px 10px 0 10px; height: 1px; background: #ccc;">
                </div>
                <div class="row">
                    <div id="piclist">
                    </div>
                    <div class="panel_panel-default lunbo_upload" style="margin:0px 15px 0 15px;padding-bottom:35px;"
                         ng-show="imgList.length">
                        <div style="margin: 10px 5px; height: 90px; width:90px;display:inline-block;"
                             ng-repeat="img in imgList track by $index">
                            <span class="glyphicon glyphicon-remove-circle" style="font-size: 15px; float: right;top: 12px;right: -5px;vertical-align: middle; cursor: pointer; color: orange;"
                                  ng-click="remove($index)">
                            </span>
                            <img style="width: 100%; height: 100%;" ng-src="{{fileDomain + img.src}}">
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="modal-footer" style="display:none">
            <a class="btn-main login" style="width: 88px;" ng-click="ok()">
                确定
            </a>
            <a class="btn-grey0 cancel" style="width: 88px;" ng-click="cancel()">
                取消
            </a>
        </div>
    </tab>
</tabset>